Palette Generator

Create a matching color scheme with one click

Click a color block to copy its HEX code

What this tool does

Pick a scheme (random, complementary, analogous or triadic) and press generate to get five matching colours shown as large swatches. Each swatch shows its HEX code, and tapping it copies the code instantly. Use it to find a starting combination for website or app screens, slides, thumbnails or brand colours.

How it is calculated

Colours are built in HSL (hue angle, saturation, lightness) and converted to HEX. The base hue is picked at random from 0–359° on every press. Complementary fills five slots with two base-hue colours, two from the opposite hue 180° away, and one more base hue; analogous uses base −40°, −20°, 0°, +20° and +40°; triadic uses the base, +120° and +240°. These three fix saturation at 65% and step lightness down through 72%, 60%, 48%, 36% and 24%, so the row runs from light on the left to dark on the right. Random gives each of the five its own random hue, with saturation 55–84% and lightness 30–74%. For example, with a base of 210° (blue), complementary might give #89B8E6, #5799DB, #CA7A2B, #975C20 and #153D65: two blues, two oranges and a deep navy. The label colour on each swatch switches automatically to black or white based on the background's brightness.

  • Choose random, complementary, analogous or triadic (choosing one generates immediately)
  • Press generate again until you like the combination
  • Complementary: strong contrast between the base and the hue 180° away
  • Analogous: calm, unified hues 20° and 40° either side of the base
  • Triadic: a balanced set of three hues 120° apart
  • Tap a swatch to copy its HEX code

Things to know

  • Try the 60-30-10 rule: 60% main colour, 30% secondary, 10% accent. The opposite hue in a complementary set works well as the 10% accent.
  • Equal areas of complementary colours side by side tire the eyes; shrink one or use a darker slot.
  • Complementary, analogous and triadic step down in lightness, so the lightest slot suits a background and the darkest suits text.
  • Text needs strong lightness contrast with its background. Check contrast (for example against WCAG) separately from the colour scheme.
  • For colour-blind users, do not rely on colour alone; add shapes or labels.
  • You cannot choose the base colour yourself; keep pressing generate until a family you like appears.
  • Palettes are not saved, so note down the five codes of any set you like.

Frequently asked questions

What is the complement of blue?

An orange, 180° away on the hue wheel. With a base of 210°, the partner is an orange near 30°. That is why orange buttons stand out on blue backgrounds.

Can I build a palette from a colour I choose?

No; the base hue is random each time and cannot be entered. Generate until the family you want appears, then refine the codes in your design tool.

What is HSL?

A way of describing colour by hue (0–360°), saturation (0–100%) and lightness (0–100%). It matches how people think about colour, which makes rotating hues for schemes easy. The tool converts the results to HEX.

Can I save a palette?

There is no save feature and nothing is sent to a server. Tap each swatch to copy its HEX code into your design tool or notes.

← na.to home